package ModelLayer;
import java.util.ArrayList;

public class Order {
    // <editor-fold defaultstate="collapsed" desc="Attributes">
    private int id_order;
    private int id_carrier;
    private int id_lang;
    private int id_customer;
    private int id_cart;
    private int id_currency;
    private int id_address_delivery;
    private int id_address_invoice;
    private String secure_key;
    private String payment;
    private String module;
    private boolean recyclable;
    private boolean gift;
    private String gift_message;
    private String shipping_number;
    private float total_discounts;
    private float total_paid;
    private float total_paid_real;
    private float total_products;
    private float total_shipping;
    private float total_wrapping;
    private int invoice_number;
    private int delivery_number;
    private int invoice_date;
    private int delivery_date;
    private boolean valid;
    private int date_add;
    private int date_upd;
    private ArrayList<Integer> discountIDs = new ArrayList<Integer>();
    // </editor-fold>

    // <editor-fold defaultstate="collapsed" desc="Constructors">
    public Order() {
    }

    public Order(int id_order, int id_carrier, int id_lang, int id_customer, int id_cart, int id_currency, int id_address_delivery, int id_address_invoice, String secure_key, String payment, String module, boolean recyclable, boolean gift, String gift_message, String shipping_number, float total_discounts, float total_paid, float total_paid_real, float total_products, float total_shipping, float total_wrapping, int invoice_number, int delivery_number, int invoice_date, int delivery_date, boolean valid, int date_add, int date_upd) {
        this.id_order               = id_order;
        this.id_carrier             = id_carrier;
        this.id_lang                = id_lang;
        this.id_customer            = id_customer;
        this.id_cart                = id_cart;
        this.id_currency            = id_currency;
        this.id_address_delivery    = id_address_delivery;
        this.id_address_invoice     = id_address_invoice;
        this.secure_key             = secure_key;
        this.payment                = payment;
        this.module                 = module;
        this.recyclable             = recyclable;
        this.gift                   = gift;
        this.gift_message           = gift_message;
        this.shipping_number        = shipping_number;
        this.total_discounts        = total_discounts;
        this.total_paid             = total_paid;
        this.total_paid_real        = total_paid_real;
        this.total_products         = total_products;
        this.total_shipping         = total_shipping;
        this.total_wrapping         = total_wrapping;
        this.invoice_number         = invoice_number;
        this.delivery_number        = delivery_number;
        this.invoice_date           = invoice_date;
        this.delivery_date          = delivery_date;
        this.valid                  = valid;
        this.date_add               = date_add;
        this.date_upd               = date_upd;
    }
    // </editor-fold>

    // <editor-fold defaultstate="collapsed" desc="Set & Get Methods">
    //Set & Get: ID
    public void setIDOrder(int id_order) {
        this.id_order = id_order;
    }
    public int getIDOrder() {
        return this.id_order;
    }

    //Set & Get: ID_Carrier
    public void setIDCarrier(int id_carrier) {
        this.id_carrier = id_carrier;
    }
    public int getIDCarrier() {
        return this.id_carrier;
    }

    //Set & Get: ID_Lang
    public void setIDLang(int id_lang) {
        this.id_lang = id_lang;
    }
    public int getIDLang() {
        return this.id_lang;
    }

    //Set & Get: ID_Customer
    public void setIDCustomer(int id_customer) {
        this.id_customer = id_customer;
    }
    public int getIDCustomer() {
        return this.id_customer;
    }

    //Set & Get: ID_Cart
    public void setIDCart(int id_cart) {
        this.id_cart = id_cart;
    }
    public int getIDCart() {
        return this.id_cart;
    }

    //Set & Get: ID_Currency
    public void setIDCurrency(int id_currency) {
        this.id_currency = id_currency;
    }
    public int getIDCurrency() {
        return this.id_currency;
    }

    //Set & Get: ID_Address_Delivery
    public void setIDAddressDelivery(int id_address_delivery) {
        this.id_address_delivery = id_address_delivery;
    }
    public int getIDAddressDelivery() {
        return this.id_address_delivery;
    }

    //Set & Get: ID_Address_Invoice
    public void setIDAddressInvoice(int id_address_invoice) {
        this.id_address_invoice = id_address_invoice;
    }
    public int getIDAddressInvoice() {
        return this.id_address_invoice;
    }

    //Set & Get: Secure_Key
    public void setSecureKey(String secure_key) {
        this.secure_key = secure_key;
    }
    public String getSecureKey() {
        return this.secure_key;
    }

    //Set & Get: Payment
    public void setPayment(String payment) {
        this.payment = payment;
    }
    public String getPayment() {
        return this.payment;
    }

    //Set & Get: Module
    public void setModule(String module) {
        this.module = module;
    }
    public String getModule() {
        return this.module;
    }

    //Set & Get: Recyclable
    public void setRecyclable(boolean recyclable) {
        this.recyclable = recyclable;
    }
    public boolean getRecyclable() {
        return this.recyclable;
    }

    //Set & Get: Gift
    public void setGift(boolean gift) {
        this.gift = gift;
    }
    public boolean getGift() {
        return this.gift;
    }

    //Set & Get: Gift_Message
    public void setGiftMessage(String gift_message) {
        this.gift_message = gift_message;
    }
    public String getGiftMessage() {
        return this.gift_message;
    }

    //Set & Get: Shipping_Number
    public void setShippingNumber(String shipping_number) {
        this.shipping_number = shipping_number;
    }
    public String getShippingNumber() {
        return this.shipping_number;
    }

    //Set & Get: Total_Discounts
    public void setTotalDiscounts(float total_discounts) {
        this.total_discounts = total_discounts;
    }
    public float getTotalDiscounts() {
        return this.total_discounts;
    }

    //Set & Get: Total_Paid_Real
    public void setTotalPaid(float total_paid) {
        this.total_paid = total_paid;
    }
    public float getTotalPaid() {
        return this.total_paid;
    }

    //Set & Get: Total_Paid_Real
    public void setTotalPaidReal(float total_paid_real) {
        this.total_paid_real = total_paid_real;
    }
    public float getTotalPaidReal() {
        return this.total_paid_real;
    }

    //Set & Get: Total_Products
    public void setTotalProducts(float total_products) {
        this.total_products = total_products;
    }
    public float getTotalProducts() {
        return this.total_products;
    }

    //Set & Get: Total_Shipping
    public void setTotalShipping(float total_shipping) {
        this.total_shipping = total_shipping;
    }
    public float getTotalShipping() {
        return this.total_shipping;
    }

    //Set & Get: Total_Wrapping
    public void setTotalWrapping(float total_wrapping) {
        this.total_wrapping = total_wrapping;
    }
    public float getTotalWrapping() {
        return this.total_wrapping;
    }

    //Set & Get: Invoice_Number
    public void setInvoiceNumber(int invoice_number) {
        this.invoice_number = invoice_number;
    }
    public int getInvoiceNumber() {
        return this.invoice_number;
    }

    //Set & Get: Delivery_Number
    public void setDeliveryNumber(int delivery_number) {
        this.delivery_number = delivery_number;
    }
    public int getDeliveryNumber() {
        return this.delivery_number;
    }

    //Set & Get: Invoice_Date
    public void setInvoiceDate(int invoice_date) {
        this.invoice_date = invoice_date;
    }
    public int getInvoiceDate() {
        return this.invoice_date;
    }

    //Set & Get: Delivery_Date
    public void setDeliveryDate(int delivery_date) {
        this.delivery_date = delivery_date;
    }
    public int getDeliveryDate() {
        return this.delivery_date;
    }

    //Set & Get: Valid
    public void setValid(boolean valid) {
        this.valid = valid;
    }
    public boolean getValid() {
        return this.valid;
    }

    //Set & Get Date_Add
    public void setDateAdd(int date_add) {
        this.date_add = date_add;
    }
    public int getDateAdd() {
        return this.date_add;
    }

    //Set & Get Date_Upd
    public void setDateUpd(int date_upd) {
        this.date_upd = date_upd;
    }
    public int getDateUpd() {
        return this.date_upd;
    }

    //Set & Get: DiscountIDs
    public void setDiscountIDs(ArrayList<Integer> discountIDs) {
        this.discountIDs = discountIDs;
    }
    public ArrayList<Integer> getDiscountIDs() {
        return this.discountIDs;
    }
    // </editor-fold>
}
